<include file="application/walletyhbbadmin/view/public/left.html"/>
<div id="dcMain">
   <!-- 当前位置 -->
<div id="urHere">管理中心<b>></b><strong>修改分类</strong> </div>   <div class="mainBox" style="height:auto!important;height:550px;min-height:550px;">
            <h3><a href="{:U('Type/index')}" class="actionBtn">浏览分类</a></h3>
    <form action="{:U('Type/updateSanji')}" method="post" enctype="multipart/form-data">
     <table width="100%" border="0" cellpadding="8" cellspacing="0" class="tableBasic">

         <tr>
             <td width="90" align="right">分类名：</td>
             <td>
                 <input type="text" id="title" name="name" value="{$info.name}" size="80" class="inpMain" />
                  <input  name="id"  value="{$info.id}" type="hidden"></td>
             </td>
         </tr>

         <tr>
             <td width="90" align="right">分类图标：</td>
             <td>
                 <img src="{$info.image}" alt="" width="200px" height="150px">
                 <input type="file"  name="image" value="" size="80" class="inpMain" />
                 <!-- <input  name="article_id"  value="{$list.article_id}" type="hidden"></td> -->
             </td>
         </tr>

      <tr>
       <td></td>
       <td>
        <input name="submit" class="btn" type="submit" value="提交" />
       </td>
      </tr>
     </table>
    </form>
       </div>
 </div>
 <div class="clear"></div>
<include file="application/walletyhbbadmin/view/public/foot.html"/><!-- dcFooter 结束 -->
<div class="clear"></div> </div>
 <script type="text/javascript">
 
 onload = function()
 {
   document.forms['action'].reset();
 }

 function douAction()
 {
     var frm = document.forms['action'];

     frm.elements['new_cat_id'].style.display = frm.elements['action'].value == 'category_move' ? '' : 'none';
 }
 
 </script>
</body>
</html>